<?php
/**
 *	Data Model Table of Searchs.
 *	@package		tools.BugTracker
 *	@author			Christian Würker <Christian.Wuerker@CeuS-Media.de>
 *	@since			01.11.2005
 *	@version		0.1
 */
/**
 *	Data Model of Searchs.
 *	@package		tools.BugTracker
 *	@extends		CMF_Krypton_Core_Model
 *	@author			Christian Würker <Christian.Wuerker@CeuS-Media.de>
 *	@since			01.11.2005
 *	@version		0.1
 */
final class Model_BugSearch extends CMF_Krypton_Core_Model
{
	/**
	 *	Constructor.
	 *	@access		public
	 *	@param		int			$search_id		ID of Comment
	 *	@return		void
	 */
	public function __construct( $search_id = NULL )
	{
		$tableName	= "searchs";
		$columns	= array(
			"searchId",
			"userId",
			"title",
			"parameters",
			"timestamp",
		);
		$primaryKey	= "searchId";
		$indices	= array( "userId" );
		parent::__construct( $tableName, $columns, $primaryKey, $$primaryKey );
		$this->setIndices( $indices );
	}
}
?>